import axios from 'axios'

const request = axios.create({
  baseURL: '/',
  timeout: 20 * 1000
})

request.interceptors.request.use(reqConfig => {
  return reqConfig
})

request.interceptors.response.use(res => {
  return res
})

export default request